package com.hfb.mashibing.alip8.designpattern._017bridge;

public class MianV1_GG {
    public void chase(MM mm) {
        Gift g = new Book();
        give(mm, g);
    }
    public void give(MM mm, Gift g) {
    }
    class MM {
        String name;
    }
    /** 礼物 🎁 */
    abstract class Gift {

    }
    /** 具体的礼物 🎁 */
    class Book extends Gift {

    }
    /** 具体的礼物 🎁 */
    class Flower extends Gift {

    }

}

